<!DOCTYPE html>
<html lang="zh">

<head>
    <title></title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="https://cdn.staticfile.net/vue/2.7.8/vue.js"></script>
    <link href="../css/style.css" rel="stylesheet">
</head>

<body>
<div id="app">
    <ul>
        <li v-for="(item, index) in result">{{index}} {{item.title}}</li>
    </ul>
</div>
<script>
    const vm = new Vue({
        el: '#app',
        data: {
            result: [
                {
                    title: Math.random() * 100
                },
                {
                    title: Math.random() * 100
                },
                {
                    title: Math.random() * 100
                }
            ]
        }
    });
</script>
</body>
</html>